package com.m20studio.mop.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class DB extends SQLiteOpenHelper{
	private final static String DATA_BASE = "M20_MOP.db"; 
	private final static int DATA_VERSION = 1; 
	private final static String CREATE_TABLE = "create table m20_mop (_id integer primary key autoincrement,title text, hf text, time text, url text)";
		
	public DB(Context context){
		super(context, DATA_BASE, null, DATA_VERSION);
	}

	@Override
	public void onCreate(SQLiteDatabase db){
		db.execSQL(CREATE_TABLE);
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion){
		// TODO Auto-generated method stub
		
	}
	
}
